package de.uebungen.grabo;

import de.fhwgt.dionarap.model.events.DionaRapChangedEvent;
import de.fhwgt.dionarap.model.events.GameStatusEvent;
import de.fhwgt.dionarap.model.listener.DionaRapListener;

public class ListenerModel implements DionaRapListener{

	private Hauptfenster hafe;
	public ListenerModel(Hauptfenster hauptfenster)
	{
		hafe = hauptfenster;
	}
	@Override
	public void modelChanged(DionaRapChangedEvent event) {
		this.hafe.updateStatus();
	}

	@Override
	public void statusChanged(GameStatusEvent arg0) {
		// TODO Auto-generated method stub
		
	}

}
